package com.zxs.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zk
 * @since 2025-01-14
 */
@Data
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    private String pname;

    private String addr;

    private Integer cid;
    @TableField(exist = false)
    private String cname;
    @TableLogic
    private Integer deleted;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
